package test0103.test01;

public class Employee {
    int eid;
    String ename;
    String sex;
    String date;
    String address;
    Position position;

    public Employee() {
    }

    public Employee(int eid, String ename, String sex, String date, String address, Position position) {
        this.eid = eid;
        this.ename = ename;
        this.sex = sex;
        this.date = date;
        this.address = address;
        this.position = position;
    }

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Position getPosition() {
        return position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "eid=" + eid +
                ", ename='" + ename + '\'' +
                ", sex='" + sex + '\'' +
                ", date='" + date + '\'' +
                ", address='" + address + '\'' +
                ", position=" + position +
                '}';
    }
}
